package com.dly.hope.model.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.dly.hope.type.TemplateType;
import com.dly.hope.utils.EnumConverter;
import lombok.Data;

/**
 * @author linyu.dai
 * @project myserve
 * @description 模板
 * @creat 2022/11/4 15:16:02
 */
@Data
public class TempDTO {

    @ExcelProperty(value = "id")
    private String id;

    /**
     * 主题
     */
    @ExcelProperty(value = "主题")
    private String subject;

    /**
     * 模板
     */
    @ExcelProperty(value = "模板")
    private String template;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型",converter = EnumConverter.class)
    private TemplateType type;
}
